
{REDUND_ERROR} FUNCTION_BLOCK SignalScheduler (*abstraction of signal scheduling*) (*$GROUP=User,$CAT=User,$GROUPICON=User.png,$CATICON=User.png*)
	VAR_INPUT
		Enable : {REDUND_UNREPLICABLE} BOOL;
		Update : {REDUND_UNREPLICABLE} BOOL;
		pSignal : REFERENCE TO USINT;
		pCycTime : REFERENCE TO UDINT;
		pSignalDuration : REFERENCE TO SignalDuration_typ;
		SignalNum : USINT;
	END_VAR
	VAR
		timer : UDINT;
		signalCurrent : USINT;
		oldEnable : BOOL;
		oldUpdate : BOOL;
	END_VAR
END_FUNCTION_BLOCK
